summaryrefslogtreecommitdiffstats
path: root/korganizer/plugins/datenums
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/plugins/datenums')
-rw-r--r--korganizer/plugins/datenums/configdialog.cpp4
-rw-r--r--korganizer/plugins/datenums/configdialog.h3
-rw-r--r--korganizer/plugins/datenums/datenums.cpp4
-rw-r--r--korganizer/plugins/datenums/datenums.h2
4 files changed, 7 insertions, 6 deletions
diff --git a/korganizer/plugins/datenums/configdialog.cpp b/korganizer/plugins/datenums/configdialog.cpp
index 3766e2ffd..6f5c4d86a 100644
--- a/korganizer/plugins/datenums/configdialog.cpp
+++ b/korganizer/plugins/datenums/configdialog.cpp
@@ -34,8 +34,8 @@
#include "configdialog.h"
#include "configdialog.moc"
-ConfigDialog::ConfigDialog(TQWidget *parent)
- : KDialogBase(Plain,i18n("Configure Day Numbers"),Ok|Cancel,Ok,parent)
+ConfigDialog::ConfigDialog(TQWidget *tqparent)
+ : KDialogBase(Plain,i18n("Configure Day Numbers"),Ok|Cancel,Ok,tqparent)
{
TQFrame *topFrame = plainPage();
TQVBoxLayout *topLayout = new TQVBoxLayout(topFrame,0,spacingHint());
diff --git a/korganizer/plugins/datenums/configdialog.h b/korganizer/plugins/datenums/configdialog.h
index 992eeccce..f7291bd42 100644
--- a/korganizer/plugins/datenums/configdialog.h
+++ b/korganizer/plugins/datenums/configdialog.h
@@ -26,8 +26,9 @@ class TQButtonGroup;
class ConfigDialog : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- ConfigDialog(TQWidget *parent=0);
+ ConfigDialog(TQWidget *tqparent=0);
virtual ~ConfigDialog();
protected:
diff --git a/korganizer/plugins/datenums/datenums.cpp b/korganizer/plugins/datenums/datenums.cpp
index af022837e..a8c8fbd98 100644
--- a/korganizer/plugins/datenums/datenums.cpp
+++ b/korganizer/plugins/datenums/datenums.cpp
@@ -40,9 +40,9 @@ Datenums::Datenums()
mDateNum = config.readNumEntry( "ShowDayNumbers", 0 );
}
-void Datenums::configure(TQWidget *parent)
+void Datenums::configure(TQWidget *tqparent)
{
- ConfigDialog *dlg = new ConfigDialog(parent);
+ ConfigDialog *dlg = new ConfigDialog(tqparent);
dlg->exec();
delete dlg;
}
diff --git a/korganizer/plugins/datenums/datenums.h b/korganizer/plugins/datenums/datenums.h
index f9ca7783a..c15b04ebd 100644
--- a/korganizer/plugins/datenums/datenums.h
+++ b/korganizer/plugins/datenums/datenums.h
@@ -30,7 +30,7 @@ class Datenums : public CalendarDecoration {
Datenums();
~Datenums() {}
- void configure(TQWidget *parent);
+ void configure(TQWidget *tqparent);
TQString shortText(const TQDate &);
TQString info();