Results 1 to 1 of 1

Thread: network adapter list display

  1. #1
    Join Date
    Mar 2009
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default network adapter list display

    hai,
    sorry for asking this Question..i am new to qt..i am install qt4.5 in ferdora8 version.but my problem is how to display network adapters list in using qt..i am get some information through net..Qnetworkinterface..i can use but the trouble will be
    started i can this model code it gives errors..qt version is qt4.5 .i am using c++.this code is coreect or not..i have confusion
    please help me....any one
    QNetworkInterface::QNetworkInterface()
    {
    }

    QNetworkInterface::~QNetworkInterface()
    {
    }

    QList<QNetworkInterface> QNetworkInterface::allInterfaces()
    {


    QList<QSharedDataPointer<QNetworkInterfacePrivate> allInterfaces();
    QList<QNetworkInterface> result;
    foreach (QSharedDataPointer<QNetworkInterfacePrivate> p, privs) {
    QNetworkInterface item;
    item.d = p;
    result << item;
    }
    return result;
    }
    Last edited by rakesh; 17th March 2009 at 12:47. Reason: updated contents

Similar Threads

  1. Multi network adapter
    By navi1084 in forum Qt Programming
    Replies: 0
    Last Post: 20th November 2008, 04:31
  2. How do I display a list of images?
    By Morea in forum Qt Programming
    Replies: 2
    Last Post: 23rd November 2007, 08:49
  3. Replies: 1
    Last Post: 22nd October 2007, 02:04

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.