diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:58:15 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:58:15 -0600 |
commit | 377fa3a2775cdb3194315bb83e21744dc7c97bbf (patch) | |
tree | b6f515484589d67271adb168a1ead39f1c98493d /lilo-config | |
parent | d1248617107f659af9d03cf1ef6d783571a0cba8 (diff) | |
download | tdeadmin-377fa3a2775cdb3194315bb83e21744dc7c97bbf.tar.gz tdeadmin-377fa3a2775cdb3194315bb83e21744dc7c97bbf.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit d1248617107f659af9d03cf1ef6d783571a0cba8.
Diffstat (limited to 'lilo-config')
-rw-r--r-- | lilo-config/kde-qt-common/EditWidget.cpp | 34 | ||||
-rw-r--r-- | lilo-config/kde-qt-common/EditWidget.h | 8 | ||||
-rw-r--r-- | lilo-config/kde-qt-common/expert.cpp | 4 | ||||
-rw-r--r-- | lilo-config/kde-qt-common/expert.h | 4 | ||||
-rw-r--r-- | lilo-config/kde-qt-common/general.cpp | 22 | ||||
-rw-r--r-- | lilo-config/kde-qt-common/images.cpp | 12 | ||||
-rw-r--r-- | lilo-config/kde-qt-common/images.h | 4 | ||||
-rw-r--r-- | lilo-config/kde/Details.cpp | 2 | ||||
-rw-r--r-- | lilo-config/kde/kcontrol.cpp | 6 | ||||
-rw-r--r-- | lilo-config/qt/Details.cpp | 20 | ||||
-rw-r--r-- | lilo-config/qt/InputBox.cpp | 14 | ||||
-rw-r--r-- | lilo-config/qt/standalone.cpp | 6 |
12 files changed, 68 insertions, 68 deletions
diff --git a/lilo-config/kde-qt-common/EditWidget.cpp b/lilo-config/kde-qt-common/EditWidget.cpp index 3b096cd..3c80d2a 100644 --- a/lilo-config/kde-qt-common/EditWidget.cpp +++ b/lilo-config/kde-qt-common/EditWidget.cpp @@ -42,7 +42,7 @@ EditWidget::EditWidget(TQString const label, TQString const text, bool isFile, T if(isFile) { select=new TQPushButton(_("Select..."), this); connect(select, TQT_SIGNAL(clicked()), TQT_SLOT(selectFileClicked())); - select->resize(select->minimumSizeHint()); + select->resize(select->tqminimumSizeHint()); setStretchFactor(select, 0); } else select=0; @@ -53,29 +53,29 @@ void EditWidget::selectFileClicked() if(!filename.isEmpty()) line->setText(filename); } -TQSize EditWidget::sizeHint() const +TQSize EditWidget::tqsizeHint() const { - int w=2*SPACE_MARGIN+lbl->sizeHint().width()+SPACE_INSIDE+line->sizeHint().width(); - int h=lbl->sizeHint().height(); - if(h<line->sizeHint().height()) - h=line->sizeHint().height(); + int w=2*SPACE_MARGIN+lbl->tqsizeHint().width()+SPACE_INSIDE+line->tqsizeHint().width(); + int h=lbl->tqsizeHint().height(); + if(h<line->tqsizeHint().height()) + h=line->tqsizeHint().height(); if(select!=0) { - w+=SPACE_INSIDE+select->sizeHint().width(); - if(h<select->sizeHint().height()) - h=select->sizeHint().height(); + w+=SPACE_INSIDE+select->tqsizeHint().width(); + if(h<select->tqsizeHint().height()) + h=select->tqsizeHint().height(); } return TQSize(w, h); } -TQSize EditWidget::minimumSizeHint() const +TQSize EditWidget::tqminimumSizeHint() const { - int w=2*SPACE_MARGIN+lbl->minimumSizeHint().width()+SPACE_INSIDE+line->minimumSizeHint().width(); - int h=lbl->minimumSizeHint().height(); - if(h<line->minimumSizeHint().height()) - h=line->minimumSizeHint().height(); + int w=2*SPACE_MARGIN+lbl->tqminimumSizeHint().width()+SPACE_INSIDE+line->tqminimumSizeHint().width(); + int h=lbl->tqminimumSizeHint().height(); + if(h<line->tqminimumSizeHint().height()) + h=line->tqminimumSizeHint().height(); if(select!=0) { - w+=SPACE_INSIDE+select->minimumSizeHint().width(); - if(h<select->minimumSizeHint().height()) - h=select->minimumSizeHint().height(); + w+=SPACE_INSIDE+select->tqminimumSizeHint().width(); + if(h<select->tqminimumSizeHint().height()) + h=select->tqminimumSizeHint().height(); } return TQSize(w, h); } diff --git a/lilo-config/kde-qt-common/EditWidget.h b/lilo-config/kde-qt-common/EditWidget.h index 89b037c..e0901f9 100644 --- a/lilo-config/kde-qt-common/EditWidget.h +++ b/lilo-config/kde-qt-common/EditWidget.h @@ -58,8 +58,8 @@ public: void cut() { line->cut(); }; void copy() const { line->copy(); }; void paste() { line->paste(); }; - void setAlignment(int flag) { line->setAlignment(flag); }; - int alignment() const { return line->alignment(); }; + void tqsetAlignment(int flag) { line->tqsetAlignment(flag); }; + int tqalignment() const { return line->tqalignment(); }; void cursorLeft(bool mark, int steps=1) { line->cursorLeft(mark, steps); }; void cursorRight(bool mark, int steps=1) { line->cursorRight(mark, steps); }; void cursorWordForward(bool mark) { line->cursorWordForward(mark); }; @@ -72,8 +72,8 @@ public: bool edited() const { return line->edited(); }; bool hasMarkedText() const { return line->hasMarkedText(); }; TQString markedText() const { return line->markedText(); }; - virtual TQSize sizeHint() const; - virtual TQSize minimumSizeHint() const; + virtual TQSize tqsizeHint() const; + virtual TQSize tqminimumSizeHint() const; public slots: virtual void setText(const TQString &text) { line->setText(text); }; void selectAll() { line->selectAll(); }; diff --git a/lilo-config/kde-qt-common/expert.cpp b/lilo-config/kde-qt-common/expert.cpp index d74b6b6..7140fd9 100644 --- a/lilo-config/kde-qt-common/expert.cpp +++ b/lilo-config/kde-qt-common/expert.cpp @@ -34,9 +34,9 @@ Expert::Expert(liloconf *l, TQWidget *parent, const char *name):TQWidget(parent, name) { lilo=l; - layout=new TQHBoxLayout(this); + tqlayout=new TQHBoxLayout(this); edit=new TQMultiLineEdit(this); - layout->addWidget(edit); + tqlayout->addWidget(edit); connect(edit, TQT_SIGNAL(textChanged()), TQT_SIGNAL(configChanged())); TQWhatsThis::add(edit, _("You can edit the lilo.conf file directly here. All changes you make here are automatically transferred to the graphical interface.")); update(); diff --git a/lilo-config/kde-qt-common/expert.h b/lilo-config/kde-qt-common/expert.h index a3829d3..c2971a1 100644 --- a/lilo-config/kde-qt-common/expert.h +++ b/lilo-config/kde-qt-common/expert.h @@ -31,7 +31,7 @@ #include <lilo.h> #include <tqwidget.h> #include <tqmultilineedit.h> -#include <layout.h> +#include <tqlayout.h> class Expert:public TQWidget { Q_OBJECT @@ -48,7 +48,7 @@ signals: void configChanged(); private: liloconf *lilo; - TQHBoxLayout *layout; + TQHBoxLayout *tqlayout; TQMultiLineEdit *edit; }; #endif diff --git a/lilo-config/kde-qt-common/general.cpp b/lilo-config/kde-qt-common/general.cpp index 71e0b48..e67dc1f 100644 --- a/lilo-config/kde-qt-common/general.cpp +++ b/lilo-config/kde-qt-common/general.cpp @@ -29,7 +29,7 @@ #include "general.moc" #include "EditWidget.h" #include <Disks.h> -#include <layout.h> +#include <tqlayout.h> #include <ui.h> #include <tqwhatsthis.h> @@ -38,9 +38,9 @@ General::General(liloconf *l, TQWidget *parent, const char *name):TQWidget(parent, name) { lilo=l; - TQVBoxLayout *layout=new TQVBoxLayout(this); - layout->setMargin(SPACE_MARGIN); - layout->setSpacing(SPACE_INSIDE); + TQVBoxLayout *tqlayout=new TQVBoxLayout(this); + tqlayout->setMargin(SPACE_MARGIN); + tqlayout->setSpacing(SPACE_INSIDE); TQHBox *drv=new TQHBox(this); TQLabel *drive_lbl=new TQLabel(_("Install &boot record to drive/partition:"), drv); drive=new TQComboBox(false, drv); @@ -51,7 +51,7 @@ General::General(liloconf *l, TQWidget *parent, const char *name):TQWidget(paren for(StringList::const_iterator it=p.begin(); it!=p.end(); it++) drive->insertItem((*it).cstr()); connect(drive, TQT_SIGNAL(activated(int)), TQT_SIGNAL(configChanged())); - layout->addWidget(drv); + tqlayout->addWidget(drv); TQWhatsThis::add(drv, _("Select the drive or partition you want to install the LILO boot loader to here. Unless you intend to use other boot managers in addition to LILO, this should be the MBR (master boot record) of your boot drive.<br>In this case, you should probably select <i>/dev/hda</i> if your boot drive is an IDE drive or <i>/dev/sda</i> if your boot drive is SCSI.")); TQHBox *to=new TQHBox(this); @@ -60,7 +60,7 @@ General::General(liloconf *l, TQWidget *parent, const char *name):TQWidget(paren timeout->setSuffix(_("/10 seconds")); connect(timeout, TQT_SIGNAL(valueChanged(int)), TQT_SIGNAL(configChanged())); to_lbl->setBuddy(timeout); - layout->addWidget(to); + tqlayout->addWidget(to); TQWhatsThis::add(to, _("LILO will wait the amount of time specified here before booting the kernel (or OS) marked as <i>default</i> in the <b>Images</b> tab.")); TQHBox *modes=new TQHBox(this); @@ -70,7 +70,7 @@ General::General(liloconf *l, TQWidget *parent, const char *name):TQWidget(paren compact=new TQCheckBox(_("Use &compact mode"), modes); connect(compact, TQT_SIGNAL(clicked()), TQT_SIGNAL(configChanged())); TQWhatsThis::add(compact, _("Check this box if you want to use the compact mode.<br>The compact mode tries to merge read requests for adjacent sectors into a single read request. This reduces load time and keeps the boot map smaller, but will not work on all systems.")); - layout->addWidget(modes); + tqlayout->addWidget(modes); TQHBox *opts=new TQHBox(this); lock=new TQCheckBox(_("&Record boot command lines for defaults"), opts); @@ -80,7 +80,7 @@ General::General(liloconf *l, TQWidget *parent, const char *name):TQWidget(paren connect(restricted, TQT_SIGNAL(clicked()), TQT_SIGNAL(configChanged())); connect(restricted, TQT_SIGNAL(clicked()), TQT_SLOT(check_pw())); TQWhatsThis::add(restricted, _("If this box is checked, a password (entered below) is required only if any parameters are changed (i.e. the user can boot <i>linux</i>, but not <i>linux single</i> or <i>linux init=/bin/sh</i>).\nThis sets the <b>restricted</b> option in lilo.conf.<br>This sets a default for all Linux kernels you want to boot. If you need a per-kernel setting, go to the <i>Operating systems</i> tab and select <i>Details</i>.")); - layout->addWidget(opts); + tqlayout->addWidget(opts); TQHBox *pw=new TQHBox(this); use_password=new TQCheckBox(_("Require &password:"), pw); @@ -91,7 +91,7 @@ General::General(liloconf *l, TQWidget *parent, const char *name):TQWidget(paren password->setEchoMode(TQLineEdit::Password); connect(password, TQT_SIGNAL(textChanged(const TQString &)), TQT_SIGNAL(configChanged())); TQWhatsThis::add(pw, _("Enter the password required for bootup (if any) here. If <i>restricted</i> above is checked, the password is required for additional parameters only.<br><b>WARNING:</b> The password is stored in clear text in /etc/lilo.conf. You'll want to make sure nobody untrusted can read this file. Also, you probably don't want to use your normal/root password here.<br>This sets a default for all Linux kernels you want to boot. If you need a per-kernel setting, go to the <i>Operating systems</i> tab and select <i>Details</i>.")); - layout->addWidget(pw); + tqlayout->addWidget(pw); TQHBox *vgab=new TQHBox(this); TQLabel *vlbl=new TQLabel(_("&Default graphics mode on text console:"), vgab); @@ -125,13 +125,13 @@ General::General(liloconf *l, TQWidget *parent, const char *name):TQWidget(paren vga->insertItem(_("VGA 1280x1024, 65536 colors (794)")); vga->insertItem(_("VGA 1280x1024, 16.7M colors (795)")); connect( vga, TQT_SIGNAL(activated ( int )), TQT_SIGNAL(configChanged())); - layout->addWidget(vgab); + tqlayout->addWidget(vgab); prompt=new TQCheckBox(_("Enter LILO &prompt automatically"), this); TQWhatsThis::add(prompt, _("If this box is checked, LILO goes to the LILO prompt whether or not a key is pressed. If it is turned off, LILO boots the default operating system unless shift is pressed (in that case, it goes to the LILO prompt).<br>This sets the <i>prompt</i> option in lilo.conf.")); connect(prompt, TQT_SIGNAL(clicked()), TQT_SIGNAL(configChanged())); - layout->addWidget(prompt); + tqlayout->addWidget(prompt); update(); } diff --git a/lilo-config/kde-qt-common/images.cpp b/lilo-config/kde-qt-common/images.cpp index 559b993..a0f1c37 100644 --- a/lilo-config/kde-qt-common/images.cpp +++ b/lilo-config/kde-qt-common/images.cpp @@ -44,18 +44,18 @@ Images::Images(liloconf *l, TQWidget *parent, const char *name):TQWidget(parent, { current=""; previous=""; // Using TQString() gives problems! lilo=l; - layout=new TQHBoxLayout(this); - layout->setMargin(SPACE_MARGIN); - layout->setSpacing(SPACE_INSIDE); + tqlayout=new TQHBoxLayout(this); + tqlayout->setMargin(SPACE_MARGIN); + tqlayout->setSpacing(SPACE_INSIDE); images=new TQListBox(this); - layout->addWidget(images, 1); + tqlayout->addWidget(images, 1); connect(images, TQT_SIGNAL(highlighted(const TQString &)), TQT_SLOT(imageSelected(const TQString &))); TQWhatsThis::add(images, _("This is the list of kernels and operating systems you can currently boot. Select which one you want to edit here.")); parameters=new TQVBox(this); parameters->setMargin(SPACE_MARGIN); parameters->setSpacing(SPACE_INSIDE); - layout->addWidget(parameters, 2); + tqlayout->addWidget(parameters, 2); image=new EditWidget(_("&Kernel:"), "", true, parameters); TQWhatsThis::add(image, _("Enter the filename of the kernel you want to boot here.")); connect(image, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SIGNAL(configChanged())); @@ -75,7 +75,7 @@ Images::Images(liloconf *l, TQWidget *parent, const char *name):TQWidget(parent, actions=new TQVBox(this); actions->setMargin(SPACE_MARGIN); actions->setSpacing(SPACE_INSIDE); - layout->addWidget(actions); + tqlayout->addWidget(actions); dflt=new TQPushButton(_("Set &Default"), actions); TQWhatsThis::add(dflt, _("Boot this kernel/OS if the user doesn't make a different choice")); connect(dflt, TQT_SIGNAL(clicked()), TQT_SLOT(dfltClicked())); diff --git a/lilo-config/kde-qt-common/images.h b/lilo-config/kde-qt-common/images.h index 1f54448..898b95b 100644 --- a/lilo-config/kde-qt-common/images.h +++ b/lilo-config/kde-qt-common/images.h @@ -31,7 +31,7 @@ #include <lilo.h> #include <tqwidget.h> #include <tqmultilineedit.h> -#include <layout.h> +#include <tqlayout.h> #include <tqpushbutton.h> #include <tqlistbox.h> #include <tqvbox.h> @@ -63,7 +63,7 @@ private: liloconf *lilo; TQString previous; TQString current; - TQHBoxLayout *layout; + TQHBoxLayout *tqlayout; TQListBox *images; TQVBox *parameters; EditWidget *image; diff --git a/lilo-config/kde/Details.cpp b/lilo-config/kde/Details.cpp index 0a1e7e8..86e47bb 100644 --- a/lilo-config/kde/Details.cpp +++ b/lilo-config/kde/Details.cpp @@ -26,7 +26,7 @@ */ #include "Details.moc" -#include <layout.h> +#include <tqlayout.h> #include <tqhbox.h> #include <tqvbox.h> #include <tqwhatsthis.h> diff --git a/lilo-config/kde/kcontrol.cpp b/lilo-config/kde/kcontrol.cpp index e16cbcc..75f514c 100644 --- a/lilo-config/kde/kcontrol.cpp +++ b/lilo-config/kde/kcontrol.cpp @@ -31,16 +31,16 @@ #include <ui.h> #include <kglobal.h> #include <klocale.h> -#include <layout.h> +#include <tqlayout.h> #include <kaboutdata.h> #include <unistd.h> KControl::KControl(TQWidget *parent, const char *name) : KCModule(parent, name) { - TQVBoxLayout *layout=new TQVBoxLayout(this); + TQVBoxLayout *tqlayout=new TQVBoxLayout(this); m=new MainWidget(this, name); - layout->addWidget(m); + tqlayout->addWidget(m); connect(m, TQT_SIGNAL(configChanged()), TQT_SLOT(configChanged())); if (getuid() != 0) { m->makeReadOnly(); diff --git a/lilo-config/qt/Details.cpp b/lilo-config/qt/Details.cpp index 579d04b..5abce8a 100644 --- a/lilo-config/qt/Details.cpp +++ b/lilo-config/qt/Details.cpp @@ -26,7 +26,7 @@ */ #include "Details.moc" -#include <layout.h> +#include <tqlayout.h> #include <tqhbox.h> #include <tqwhatsthis.h> #include <tqlabel.h> @@ -36,9 +36,9 @@ Details::Details(liloimage *lilo, TQWidget *parent, const char *name, WFlags f): { l=lilo; - TQVBoxLayout *layout=new TQVBoxLayout(this); - layout->setMargin(SPACE_MARGIN); - layout->setSpacing(SPACE_INSIDE); + TQVBoxLayout *tqlayout=new TQVBoxLayout(this); + tqlayout->setMargin(SPACE_MARGIN); + tqlayout->setSpacing(SPACE_INSIDE); TQHBox *vgab=new TQHBox(this); TQLabel *vlbl=new TQLabel(_("&Graphics mode on text console:"), vgab); @@ -71,15 +71,15 @@ Details::Details(liloimage *lilo, TQWidget *parent, const char *name, WFlags f): vga->insertItem(_("VGA 1280x1024, 32767 colors (793)")); vga->insertItem(_("VGA 1280x1024, 65536 colors (794)")); vga->insertItem(_("VGA 1280x1024, 16.7M colors (795)")); - layout->addWidget(vgab); + tqlayout->addWidget(vgab); readonly=new TQCheckBox(_("Mount root filesystem &read-only"), this); TQWhatsThis::add(readonly, _("Mount the root filesystem for this kernel read-only. Since the init scripts normally take care of remounting the root filesystem in read-write mode after running some checks, this should always be turned on.<br>Don't turn this off unless you know what you're doing.")); - layout->addWidget(readonly); + tqlayout->addWidget(readonly); unsafe=new TQCheckBox(_("Do not check &partition table"), this); TQWhatsThis::add(unsafe, _("This turns off some sanity checks while writing the configuration. This shouldn't be used under \"normal\" circumstances, but it's useful, for example, for installing the possibility to boot from a floppy disk without having a floppy in the drive every time you run lilo.<br>This sets the <i>unsafe</i> keyword in lilo.conf.")); - layout->addWidget(unsafe); + tqlayout->addWidget(unsafe); TQHBox *opts=new TQHBox(this); lock=new TQCheckBox(_("&Record boot command lines for defaults"), opts); @@ -87,7 +87,7 @@ Details::Details(liloimage *lilo, TQWidget *parent, const char *name, WFlags f): restricted=new TQCheckBox(_("R&estrict parameters"), opts); connect(restricted, TQT_SIGNAL(clicked()), TQT_SLOT(check_pw())); TQWhatsThis::add(restricted, _("If this box is checked, a password (entered below) is required only if any parameters are changed (i.e. the user can boot <i>linux</i>, but not <i>linux single</i> or <i>linux init=/bin/sh</i>).\nThis sets the <b>restricted</b> option in lilo.conf.")); - layout->addWidget(opts); + tqlayout->addWidget(opts); TQHBox *pw=new TQHBox(this); use_password=new TQCheckBox(_("Require &password:"), pw); @@ -96,12 +96,12 @@ Details::Details(liloimage *lilo, TQWidget *parent, const char *name, WFlags f): password->setMaxLength(15); password->setEchoMode(TQLineEdit::Password); TQWhatsThis::add(pw, _("Enter the password required for bootup (if any) here. If <i>restricted</i> above is checked, the password is required for additional parameters only.<br><b>WARNING:</b> The password is stored in clear text in /etc/lilo.conf. You'll want to make sure nobody untrusted can read this file. Also, you probably don't want to use your normal/root password here.")); - layout->addWidget(pw); + tqlayout->addWidget(pw); TQHBox *btns=new TQHBox(this); ok=new TQPushButton(_("&OK"), btns); cancel=new TQPushButton(_("&Cancel"), btns); - layout->addWidget(btns); + tqlayout->addWidget(btns); connect(cancel, TQT_SIGNAL(clicked()), TQT_SLOT(reject())); connect(ok, TQT_SIGNAL(clicked()), TQT_SLOT(accept())); diff --git a/lilo-config/qt/InputBox.cpp b/lilo-config/qt/InputBox.cpp index 231334f..ca1c557 100644 --- a/lilo-config/qt/InputBox.cpp +++ b/lilo-config/qt/InputBox.cpp @@ -26,31 +26,31 @@ */ #include "InputBox.moc" -#include <layout.h> +#include <tqlayout.h> #include <tqhbox.h> #include <tqwhatsthis.h> #include <ui.h> InputBox::InputBox(entries e, TQWidget *parent, const char *name, bool hasCancel, WFlags f):TQDialog(parent, name, true, f) { - TQVBoxLayout *layout=new TQVBoxLayout(this); - layout->setMargin(SPACE_MARGIN); - layout->setSpacing(SPACE_INSIDE); + TQVBoxLayout *tqlayout=new TQVBoxLayout(this); + tqlayout->setMargin(SPACE_MARGIN); + tqlayout->setSpacing(SPACE_INSIDE); for(entries::iterator it=e.begin(); it!=e.end(); it++) { EditWidget *ed=new EditWidget((*it).label, (*it).dflt, (*it).isFile, this); TQWhatsThis::add(ed, (*it).help); - layout->addWidget(ed); + tqlayout->addWidget(ed); edit.insert(edit.end(), ed); } if(hasCancel) { TQHBox *btns=new TQHBox(this); ok=new TQPushButton(_("&OK"), btns); cancel=new TQPushButton(_("&Cancel"), btns); - layout->addWidget(btns); + tqlayout->addWidget(btns); connect(cancel, TQT_SIGNAL(clicked()), TQT_SLOT(reject())); } else { ok=new TQPushButton(_("&OK"), this); - layout->addWidget(ok); + tqlayout->addWidget(ok); } connect(ok, TQT_SIGNAL(clicked()), TQT_SLOT(accept())); } diff --git a/lilo-config/qt/standalone.cpp b/lilo-config/qt/standalone.cpp index 4dc73e2..111ab40 100644 --- a/lilo-config/qt/standalone.cpp +++ b/lilo-config/qt/standalone.cpp @@ -62,14 +62,14 @@ Standalone::Standalone(TQWidget *parent, const char *name):TQWidget(parent,name) TQWhatsThis::add(_cancel, _("This button exits the program without saving your changes.")); connect(_cancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(cancel())); _apply->setEnabled(false); - setMinimumWidth(actions->sizeHint().width()+10); + setMinimumWidth(actions->tqsizeHint().width()+10); arrangeWidgets(); } void Standalone::arrangeWidgets() { - m->setGeometry(SPACE_MARGIN, SPACE_MARGIN, width()-2*SPACE_MARGIN, height()-actions->sizeHint().height()-SPACE_MARGIN-SPACE_INSIDE); - actions->setGeometry(SPACE_MARGIN, height()-actions->sizeHint().height()-SPACE_MARGIN, width()-2*SPACE_MARGIN, actions->sizeHint().height()); + m->setGeometry(SPACE_MARGIN, SPACE_MARGIN, width()-2*SPACE_MARGIN, height()-actions->tqsizeHint().height()-SPACE_MARGIN-SPACE_INSIDE); + actions->setGeometry(SPACE_MARGIN, height()-actions->tqsizeHint().height()-SPACE_MARGIN, width()-2*SPACE_MARGIN, actions->tqsizeHint().height()); } void Standalone::resizeEvent(TQResizeEvent *e) |