[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Problem gnerating header file from ui file
From: "Don P." <donp () snip ! net>
Date: 2002-07-11 2:26:07
[Download RAW message or body]
Nevermind.
There was an unnamed slot in the ui file.
On Wednesday 10 July 2002 07:25 pm, Don P. wrote:
> I am trying to change the background diaolg over to
> using a .ui file.
>
> I have the ui file but the header and class I get won't compile. Plus it
> seems Incomplete. I was expecting to see methods for all the slots, however
> this is my first try at this so my expectation are probably wrong.
>
> Here is a snippet if the header file. The first error is right after
> the signal: the declaration "void ()" is obviously wrong.
>
>
> class bgmain_ui : public QDialog
> {
> Q_OBJECT
>
> public:
> bgmain_ui( QWidget* parent = 0, const char* name = 0, bool modal =
> FALSE, WFlags fl = 0 );
> ~bgmain_ui();
>
> QLabel* PixmapLabel1;
> QGroupBox* GroupBox3;
> ... (lots of widgets)
> QListView* ListView1;
> QPushButton* PushButton17;
> QPushButton* PushButton7;
>
> signals:
> void (); <---- ERROR here
>
> protected:
> QHBoxLayout* GBox;
> QVBoxLayout* Layout3;
> QGridLayout* GroupBox23Layout;
> QGridLayout* ButtonGroup1Layout;
> QHBoxLayout* Layout3_2;
> QGridLayout* GroupBox21Layout;
> QGridLayout* Layout13;
> };
>
> #endif // BGMAIN_UI_H
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic